Skip to content

Instantly share code, notes, and snippets.

@kizzlah
kizzlah / mactex_guide.md
Created April 13, 2025 06:27
Complete MacTeX User Guide
@gvenk
gvenk / convert-all-youtube-urls-to-nocookie-bookmarklet.js
Last active May 29, 2026 18:10
Convert all youtube urls on a webpage to youtube-nocookie.com urls
javascript:void%20function(){const%20a=document.querySelectorAll(%22a%22);a.forEach(a=%3E{if(-1!==a.href.indexOf(%22youtube.com%22)){const%20b=new%20URL(a.href).searchParams,c=b.get(%22v%22);c%26%26(a.href=%22https://www.youtube-nocookie.com/embed/%22+c)}else-1!==a.href.indexOf(%22youtu.be%22)%26%26(a.href=a.href.replace(%22//youtu.be/%22,%22//www.youtube-nocookie.com/embed/%22))});const%20b=document.querySelectorAll(%22iframe%22);b.forEach(a=%3E{-1===a.src.indexOf(%22//www.youtube.com%22)%3F-1!==a.src.indexOf(%22//youtube.com%22)%26%26(a.src=a.src.replace(%22//youtube.com/%22,%22//www.youtube-nocookie.com/%22)):a.src=a.src.replace(%22//www.youtube.com/%22,%22//www.youtube-nocookie.com/%22)})}();

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

Mac Storage Cleanup Guide for Developers

A practical reference guide to identify, analyze, and safely clean unnecessary storage usage on macOS.


1. Check Overall Disk Usage

Open macOS Storage Overview

@Pythonation
Pythonation / prompt.md
Last active May 29, 2026 17:55
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@oddlyspaced
oddlyspaced / arch-install-mysql-workbench
Created February 28, 2021 14:40
Step by step guide to properly install MySQL Server and MySQL-Workbench on Arch Linux and other based distributions like Manjaro etc.
# Part 0 - Updating system
sudo pacman -Syyu
# Part 1 - Installing software dependencies
sudo pacman -S git gnome-keyring
# Part 2 - Compile and Install MySQL Server
# (This might take like ~4 hours since it's compiling the source)
git clone https://aur.archlinux.org/mysql.git
cd mysql
marmots = {
'Gray marmot': 'Siberia',
'Bobak marmot': 'eastern Europe to central Asia',
'Alaska marmot': 'Alaska',
'Black-capped marmot': 'eastern Siberia',
'Long-tailed marmot': 'central Asia',
'Himalayan marmot': 'the Himalayas',
'Forest-steppe marmot': 'south Russia',
'Alpine marmot': 'Europe (Alps, Carpathian Mountains, Tatra Mountains, northern Apennine Mountains, reintroduced in the Pyrenees)',
'Menzbiers marmot': 'central Asia',
@rg3915
rg3915 / google.html
Created February 24, 2020 21:20
Google template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="https://www.google.com/images/branding/googleg/1x/googleg_standard_color_128dp.png">
<title>Google</title>
<style>
body {
@BigBang1112
BigBang1112 / TrackmaniaCommandLineArgs.md
Last active May 29, 2026 17:55
List of all possible command line arguments across Trackmania games.

Command line arguments in Trackmania

Possible commands are listed in two functions:

  • CGbxGame::ApplyCommandLineArgs
  • CGbxApp::ApplyCommandLineArgs that is called inside CGbxGame::ApplyCommandLineArgs

TMS

Due to missing resources, this may not be exactly accurate.